
package ro.ase.catalog.security.dao;

import ro.ase.catalog.beans.AclEntry;
import ro.ase.catalog.dao.IGenericDAO;

import java.util.List;


public interface IAclEntryDAO extends IGenericDAO<AclEntry, Long> {

    /**
     *
     * @see ro.ase.catalog.beans.AclEntry
     * @param aclObjectIdentity acl Id
     * @return <code>AclEntry</code>
     */
    public List<AclEntry> findByIdentityId(long aclObjectIdentity);

    /**
     *
     * @see ro.ase.catalog.beans.AclEntry
     * @param aclObjectIdentity acl Id
     */    
    public int deleteByIdentityId(long aclObjectId);

}
